#define _CRT_SECURE_NO_WARNINGS

#include <stdio.h>
#include <stdlib.h>
#include <assert.h>

typedef int BTDateType;

typedef struct BTNode
{
	struct BTNode* left;
	struct BTNode* right;
	BTDateType date;
}BTNode;

int TreeSize(BTNode* root);
int TreeLeafSize(BTNode* root);
void PrevOreder(BTNode* root);
void InOreder(BTNode* root);
void PostOreder(BTNode* root);